﻿using System.Configuration;

namespace Me.Practice.ElevatorEngine.Configuration
{
    public static class ElevatorEngineConfiguration
    {
        private static readonly BuildingConfigurationSection SBuildingContext;

        static ElevatorEngineConfiguration()
        {
            SBuildingContext =
                (BuildingConfigurationSection) ConfigurationManager.GetSection("Hometask.ElevatorEngine.config");
        }

        public static BuildingConfigurationSection ContextConfiguration { get { return SBuildingContext; } }
    }
}
